package com.health.yb.web.bean.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "用户领取物资查询对象")
public class UserMaterialReq implements Serializable {

    private static final long serialVersionUID = 4977117150307378318L;
    @ApiModelProperty("用户id")
    private Long userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("领取开始时间")
    private String startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("领取结束时间")
    private String endDate;
    @ApiModelProperty("类型id")
    private Long typeId;


}
